package com.tfnswebdesign.common {
  
  /************************************
    ServiceCred
    Holds credentials for Server Proxy
  ************************************/
  
  /*-- imports --*/
  
	public class ServiceCred {     
		
		/*-- variables --*/
		private var myUserName:String;
		private var myPassword:String;
		
		public function ServiceCred(newUserName:String, newPassword:String) {
		  myUserName = newUserName;
		  myPassword = newPassword;
		}
		
		public function getCredentials():Array {
		  var returnArray:Array = new Array();
		  returnArray['userName'] = myUserName;
		  returnArray['password'] = myPassword;
		  
		  return returnArray;
		}
	}	
}